package com.usefullc.system.domain;

import com.usefullc.system.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;

/**
 * @author: Sampson
 * @date: 2022-01-09 09:54
 */
@Entity(name="sys_data_config")
@ApiModel
@Data
public class DataConfig   extends BaseEntity {

    @ApiModelProperty(notes = "编码")
    @Column(length = 100,nullable = false)
    private java.lang.String code;

    @ApiModelProperty(notes = "值")
    @Column(length = 1000,nullable = false)
    private java.lang.String value;

    @ApiModelProperty(notes = "描述")
    @Column(length = 1000,nullable = true)
    private java.lang.String description;

    @ApiModelProperty(notes = "是否启用")
    @Column(length = 1,nullable = false)
    private java.lang.Boolean enable;

}
